package com.ys.filter_interceptor.controller;

import org.springframework.web.bind.annotation.*;

/**
 * @program: filter_interceptor
 * @description: Test Controller
 * @author: Henry
 * @create 2020-06-09 19:22
 **/
@RestController
@CrossOrigin(value = "*", maxAge = 360)
public class TestController {
    @RequestMapping("/test1")
    @ResponseBody
    public String test1(String a) {
        System.out.println("收到参数a=" + a);
        System.out.println("我是Controller");
        return "SUCC";
    }

}
